
<table class="bigtable vertical plrinfo">
<tr>
	<th>Name:</th>
	<td><?php echo $player->name?></td>
</tr>
<tr>
	<th>Surname:</th>
	<td><?php echo $player->surname?></td>
</tr>
<?php if ($first->is_established) {?>
<tr>
	<th>Rating:</th>
	<td><?php echo floor($first->player_end_rating)?></td>
</tr>
<?php }?>
<?php if ($max_rating > 0) {?>
<tr>
	<th>Top Rating:</th>
	<td><?php echo floor($max_rating)?></td>
</tr>
<?php }?>
</table> 

<br />

<table class="bigtable vertical plrinfo">
<tr>
	<th>Country:</th>
	<td><?php echo $player->country_name?></td>
</tr>
<tr>
	<th>City:</th>
	<td><?php echo $player->city_name?></td>
</tr>
</table> 

<br />

<table class="bigtable vertical plrinfo">
<tr>
	<th>Wins:</th>
	<td><?php echo $first->wins?></td>
</tr>
<tr>
	<th>Losses:</th>
	<td><?php echo $first->losses?></td>
</tr>
<tr>
	<th>Draws:</th>
	<td><?php echo $first->draws?></td>
</tr>
<tr>
	<th>Gy1:</th>
	<td><?php echo $player->g1?></td>
</tr>
<tr>
	<th>Gy2:</th>
	<td><?php echo $player->g2?></td>
</tr>
<tr>
	<th>Gy5:</th>
	<td><?php echo $player->g5?></td>
</tr>
</table>

<div style="text-align:left; padding:10px;">
Hover the mouse over the opponent's name to see the personal score of 
<?php echo $player->name , " " , $player->surname?> with this player.
</div>

